home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Q-R / QuickTurtle.cpt / QuickTurtle / QTPrograms / variableC_Curve.t < prev   
MacBinary  |  1991-06-28  |  1.5 KB  |  [TEXT/>QT<]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: variableC_Curve.t

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert E-Tracker Chiptune (music/eTracker) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Simis (archive/simis) ext Unsupported
1% dexvert TADS (other/tads) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Jun 28 17:38:59 1991, modified Fri Jun 28 17:38:59 1991, creator '>QT<', type ASCII, 978 bytes "variableC_Curve.t" , at 0x452 330 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[>QT<]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 76 61 72 69 61 62 | 6c 65 43 5f 43 75 72 76 |..variab|leC_Curv|
|00000010| 65 2e 74 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |e.t.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 3e 51 54 | 3c 01 00 00 00 00 00 00 |.TEXT>QT|<.......|
|00000050| 00 00 00 00 00 03 d2 00 | 00 01 4a a4 91 5c f3 a4 |........|..J..\..|
|00000060| 91 5c f3 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.\......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 99 9c 00 00 |........|........|
|00000080| 2d 2d 20 54 68 69 73 20 | 70 72 6f 67 72 61 6d 20 |-- This |program |
|00000090| 64 72 61 77 73 20 43 2d | 6c 69 6b 65 20 63 75 72 |draws C-|like cur|
|000000a0| 76 65 73 20 66 6f 72 20 | 61 6e 67 6c 65 73 20 6f |ves for |angles o|
|000000b0| 74 68 65 72 20 74 68 61 | 6e 20 39 30 a1 2e 0d 0d |ther tha|n 90....|
|000000c0| 2d 2d 20 57 68 65 6e 20 | 79 6f 75 20 72 75 6e 20 |-- When |you run |
|000000d0| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 28 73 65 6c |the prog|ram (sel|
|000000e0| 65 63 74 69 6e 67 20 d2 | 52 75 6e d3 20 66 72 6f |ecting .|Run. fro|
|000000f0| 6d 20 74 68 65 20 50 72 | 6f 67 72 61 6d 20 6d 65 |m the Pr|ogram me|
|00000100| 6e 75 29 2c 20 61 0d 2d | 2d 20 64 69 61 6c 6f 67 |nu), a.-|- dialog|
|00000110| 20 61 70 70 65 61 72 73 | 20 61 73 6b 69 6e 67 20 | appears| asking |
|00000120| 66 6f 72 20 76 61 6c 75 | 65 73 20 66 6f 72 20 32 |for valu|es for 2|
|00000130| 20 70 61 72 61 6d 65 74 | 65 72 73 20 d1 20 69 2e | paramet|ers . i.|
|00000140| 65 2e 2c 20 74 68 65 20 | d2 6c 65 76 65 6c d3 0d |e., the |.level..|
|00000150| 2d 2d 20 61 6e 64 20 d2 | 61 6e 67 6c 65 d3 20 70 |-- and .|angle. p|
|00000160| 61 72 61 6d 65 74 65 72 | 73 20 6f 66 20 74 68 65 |arameter|s of the|
|00000170| 20 d2 63 63 75 72 76 65 | d3 20 70 72 6f 63 65 64 | .ccurve|. proced|
|00000180| 75 72 65 2e 20 20 41 6e | 79 74 68 69 6e 67 20 75 |ure. An|ything u|
|00000190| 70 20 74 6f 20 61 62 6f | 75 74 0d 2d 2d 20 31 35 |p to abo|ut.-- 15|
|000001a0| 20 69 73 20 67 6f 6f 64 | 20 66 6f 72 20 d2 6c 65 | is good| for .le|
|000001b0| 76 65 6c d3 20 28 65 61 | 63 68 20 6c 65 76 65 6c |vel. (ea|ch level|
|000001c0| 20 68 69 67 68 65 72 20 | 74 61 6b 65 73 20 74 77 | higher |takes tw|
|000001d0| 69 63 65 20 61 73 20 6c | 6f 6e 67 20 74 6f 20 64 |ice as l|ong to d|
|000001e0| 72 61 77 20 61 73 0d 2d | 2d 20 74 68 65 20 70 72 |raw as.-|- the pr|
|000001f0| 65 76 69 6f 75 73 20 6c | 65 76 65 6c 29 3b 20 61 |evious l|evel); a|
|00000200| 6e 79 74 68 69 6e 67 20 | 66 72 6f 6d 20 34 35 20 |nything |from 45 |
|00000210| 74 6f 20 39 30 20 69 73 | 20 67 6f 6f 64 20 66 6f |to 90 is| good fo|
|00000220| 72 20 d2 61 6e 67 6c 65 | d3 2e 0d 0d 70 72 6f 67 |r .angle|....prog|
|00000230| 72 61 6d 20 63 63 75 72 | 76 65 0d 0d 6f 6e 20 43 |ram ccur|ve..on C|
|00000240| 20 6c 65 6e 67 74 68 2c | 20 6c 65 76 65 6c 2c 20 | length,| level, |
|00000250| 61 6e 67 6c 65 0d 20 20 | 69 66 20 6c 65 76 65 6c |angle. |if level|
|00000260| 20 3e 20 30 20 74 68 65 | 6e 0d 20 20 20 20 20 20 | > 0 the|n. |
|00000270| 43 20 6c 65 6e 67 74 68 | 2c 20 6c 65 76 65 6c 2d |C length|, level-|
|00000280| 31 2c 20 61 6e 67 6c 65 | 0d 20 20 20 20 20 20 74 |1, angle|. t|
|00000290| 75 72 6e 20 72 69 67 68 | 74 20 28 6c 65 76 65 6c |urn righ|t (level|
|000002a0| 20 2d 32 29 20 2a 20 61 | 6e 67 6c 65 0d 20 20 20 | -2) * a|ngle. |
|000002b0| 20 20 20 43 20 6c 65 6e | 67 74 68 2c 20 6c 65 76 | C len|gth, lev|
|000002c0| 65 6c 2d 31 2c 20 61 6e | 67 6c 65 0d 20 20 65 6c |el-1, an|gle. el|
|000002d0| 73 65 20 66 6f 72 77 61 | 72 64 20 6c 65 6e 67 74 |se forwa|rd lengt|
|000002e0| 68 0d 65 6e 64 20 43 0d | 0d 6f 6e 20 63 63 75 72 |h.end C.|.on ccur|
|000002f0| 76 65 20 6c 65 76 65 6c | 2c 20 61 6e 67 6c 65 0d |ve level|, angle.|
|00000300| 20 20 20 20 70 75 74 20 | 32 20 2a 20 28 63 6f 73 | put |2 * (cos|
|00000310| 28 61 6e 67 6c 65 2f 32 | 29 29 20 69 6e 74 6f 20 |(angle/2|)) into |
|00000320| 73 63 61 6c 65 46 61 63 | 74 6f 72 0d 20 20 20 20 |scaleFac|tor. |
|00000330| 70 75 74 20 32 32 30 20 | 69 6e 74 6f 20 6c 65 6e |put 220 |into len|
|00000340| 67 74 68 0d 20 20 20 20 | 72 65 70 65 61 74 20 6c |gth. |repeat l|
|00000350| 65 76 65 6c 0d 20 20 20 | 20 20 20 20 20 70 75 74 |evel. | put|
|00000360| 20 6c 65 6e 67 74 68 2f | 73 63 61 6c 65 46 61 63 | length/|scaleFac|
|00000370| 74 6f 72 20 69 6e 74 6f | 20 6c 65 6e 67 74 68 0d |tor into| length.|
|00000380| 20 20 20 20 65 6e 64 20 | 72 65 70 65 61 74 0d 20 | end |repeat. |
|00000390| 20 20 20 73 65 74 20 70 | 6f 73 69 74 69 6f 6e 20 | set p|osition |
|000003a0| 31 31 35 2c 2d 38 32 0d | 20 20 20 20 73 65 74 20 |115,-82.| set |
|000003b0| 68 65 61 64 69 6e 67 20 | 28 6c 65 76 65 6c 20 2a |heading |(level *|
|000003c0| 20 28 28 31 38 30 20 2d | 20 61 6e 67 6c 65 29 2f | ((180 -| angle)/|
|000003d0| 32 29 20 2d 20 28 31 38 | 30 20 2d 20 61 6e 67 6c |2) - (18|0 - angl|
|000003e0| 65 29 29 c2 0d 20 20 20 | 20 20 20 20 20 20 20 20 |e)).. | |
|000003f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000410| 20 20 2d 20 28 28 6c 65 | 76 65 6c 2d 31 29 20 2a | - ((le|vel-1) *|
|00000420| 20 28 39 30 2d 61 6e 67 | 6c 65 29 29 0d 20 20 20 | (90-ang|le)). |
|00000430| 20 43 20 6c 65 6e 67 74 | 68 2c 6c 65 76 65 6c 2c | C lengt|h,level,|
|00000440| 20 61 6e 67 6c 65 0d 65 | 6e 64 20 63 63 75 72 76 | angle.e|nd ccurv|
|00000450| 65 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |e.......|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 01 18 | 00 00 00 18 00 00 00 32 |........|.......2|
|00000490| 00 00 31 9c 0d 72 61 6e | 64 6f 6d 4c 69 6e 65 73 |..1..ran|domLines|
|000004a0| 2e 74 02 00 00 00 54 45 | 58 54 3e 51 54 3c 01 00 |.t....TE|XT>QT<..|
|000004b0| 1a 31 2e 20 44 44 45 78 | 70 61 6e 64 45 78 70 61 |.1. DDEx|pandExpa|
|000004c0| 6e 64 54 65 6d 70 46 69 | 6c 65 20 78 02 00 00 00 |ndTempFi|le x....|
|000004d0| 00 00 44 44 54 4d 44 44 | 41 50 01 00 00 00 00 00 |..DDTMDD|AP......|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 a5 f3 ed 8d 00 00 | 03 d2 00 00 01 4a 00 00 |........|.....J..|
|00000500| 00 00 00 00 00 00 00 00 | 17 00 00 00 31 9c 11 72 |........|....1..r|
|00000510| 61 6e 64 6f 6d 53 6e 6f | 77 46 6c 61 6b 65 2e 74 |andomSno|wFlake.t|
|00000520| 02 00 00 00 54 45 58 54 | 3e 51 54 3c 01 00 00 93 |....TEXT|>QT<....|
|00000530| 00 5f 00 00 00 00 36 15 | 00 00 00 00 03 16 00 00 |._....6.|........|
|00000540| 04 00 00 00 00 00 01 52 | 00 00 04 00 a1 8e 52 d8 |.......R|......R.|
|00000550| a1 8e 57 de 00 00 00 00 | 54 dc 00 00 00 00 00 00 |..W.....|T.......|
|00000560| 00 00 00 00 00 00 37 ca | 00 00 02 e5 00 01 00 00 |......7.|........|
|00000570| 00 00 00 00 00 00 03 05 | 00 01 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 14 00 28 00 04 | 01 52 01 fc 00 09 00 06 |.....(..|.R......|
|00000590| 06 4d 6f 6e 61 63 6f 77 | 00 00 01 00 00 00 01 18 |.Monacow|........|
|000005a0| 00 00 00 18 00 00 00 32 | 00 68 1b e4 04 6a 00 00 |.......2|.h...j..|
|000005b0| 00 1c 00 32 00 00 44 49 | 4e 46 00 00 00 0a 03 e8 |...2..DI|NF......|
|000005c0| ff ff 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+